import { toSuccess, useRedis } from "@sker/core";


export default async () => {
    await useRedis(7, async (r)=>{
        const lockDeviceKey = `lock.*`;
        const keys = await r.keys(lockDeviceKey)
        await r.del(keys)
    })
    return toSuccess(true)
}
